﻿namespace PMS.Data.Entities.Customers
{
    public static partial class CustomerDefaultConfigs
    {
        #region System customers

        /// <summary>
        /// Gets a system name of 'background task' customer object
        /// </summary>
        public static string BackgroundTaskCustomerName => "BuildInBackgroundTask";

        #endregion

        #region Customer attributes
        /// <summary>
        /// 用户扩展信息，以键值对保存在GenericAttribute表
        /// 用户性别
        /// </summary>
        public static string GenderAttribute => "Gender";

        /// <summary>
        /// 用户扩展信息，以键值对保存在GenericAttribute表
        /// 用户生日 DateFormat: YYYY-MM-DD
        /// </summary>
        public static string DateOfBirthAttribute => "BirthDay";

        public static string AvatarPictureIdAttribute => "AvatarMediaFileId";
        /// <summary>
        /// 用户扩展信息，当用户存在收货地址等需要标注多个地址管理数据时
        /// 以省市县三级联动存储用户默认地址的县级ID
        /// </summary>
        public static string DefaultAddressIdAttribute => "DefaultAddressCode";

        public static string DefaultAddressDetailAttribute => "DefaultAddressDetail";
        /// <summary>
        /// Gets a name of generic attribute to store the value of 'PasswordRecoveryToken'
        /// </summary>
        public static string PasswordRecoveryTokenAttribute => "PasswordRecoveryToken";

        /// <summary>
        /// Gets a name of generic attribute to store the value of 'AccountActivationToken'
        /// </summary>
        public static string AccountActivationTokenAttribute => "AccountActivationToken";

        /// <summary>
        /// Gets a name of generic attribute to store the value of 'PasswordRecoveryTokenDateGenerated'
        /// </summary>
        public static string PasswordRecoveryTokenDateGeneratedAttribute => "PasswordRecoveryTokenDateGenerated";

        /// <summary>
        /// Gets a name of generic attribute to store the value of 'LastVisitedPage'
        /// </summary>
        public static string LastVisitedPageAttribute => "LastVisitedPage";


        #endregion
    }
}
